home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -screenplay- / otherstuff / birdsofpreyupdate / updatebirdsofprey < prev    next >
Text File  |  1999-06-15  |  2KB  |  62 lines

  1. ; Birds of Prey update script by Mark Knibbs <mark_k@iname.com>
  2. ; Running this script should automatically update the bop_c file on a copy
  3. ; of your Birds of Prey disk 2 to version 1.1.
  4. ;
  5. ; $VER: Update_Birds_of_Prey 40.1 (30.5.99)
  6. ;
  7.  
  8. FailAt 21
  9.  
  10. Echo "*N=================================================================*N=                                                               =*N= Birds of Prey update script by Mark Knibbs <mark_k@iname.com> ="
  11. Echo "=                                                               =*N=================================================================*N*NMake a backup copy of your original Birds of Prey disk 2 and"
  12. Echo "insert the backup into any drive.*N*NIf you have not already made a backup, do so now. Make sure the volume*Nname of the backup is *"Birds of Prey*"*N*NNEVER WRITE TO YOUR ORIGINAL DISK!!!*N*N"
  13.  
  14. Lab WaitForUser
  15. Ask "Type 'Y' and press Return when you have inserted your backup of*NBirds of Prey disk 2 in any drive, or type 'N' to quit: "
  16.  
  17. IF NOT WARN
  18. Quit
  19. ELSE
  20.  
  21. Assign >NIL: "Birds of Prey:" EXISTS
  22. If WARN
  23. Echo "*NPlease insert your backup copy of Birds of Prey disk 2 in any drive.*N"
  24. Skip WaitForUser BACK
  25. ELSE
  26. If NOT EXISTS "Birds of Prey:bop_c"
  27. Echo "Error: *"Birds of Prey:bop_c*" file not found.*N"
  28. Wait 5
  29. Quit
  30. ELSE
  31.  
  32. If NOT EXISTS bop_c.gpch
  33. Echo "Error: bop_c.gpch patch file not found.*N"
  34. Wait 5
  35. Quit
  36. ELSE
  37.  
  38. If NOT EXISTS GPatch
  39. Echo "Error: GPatch executable not found.*N"
  40. Wait 5
  41. Quit
  42. ELSE
  43.  
  44. Echo "*NCopying bop_c file to T: for faster processing. Please wait..." NOLINE
  45. Copy >NIL: FROM "Birds of Prey:bop_c" TO T:bop_c.orig
  46. Echo " done.*N*NCreating version 1.1 bop_c file in T:. Please wait...*N"
  47. GPatch T:bop_c.orig bop_c.gpch T:bop_c.new
  48. IF WARN
  49. Echo "*NThere was an error. Perhaps you already have Birds of Prey version 1.1,*Nor maybe a later version? Contact me."
  50. Delete >NIL: T:bop_c.orig
  51. Wait 5
  52. Quit
  53. ELSE
  54.  
  55. Echo "*NVersion 1.1 bop_c file created, now copying to your Birds of Prey disk 2*Nbackup..." NOLINE
  56. Copy >NIL: FROM T:bop_c.new TO "Birds of Prey:bop_c"
  57. Echo " done. Now cleaning up..." NOLINE
  58. Delete >NIL: T:bop_c.orig T:bop_c.new
  59. Echo " done. Enjoy playing Birds of Prey version 1.1!"
  60. Wait 5
  61. ENDIF
  62.